<!--#
 @version 0.2 (auto-set)
#-->

<!-- table gpsdevices search -->
<p align=center>
<b>
<a href="?view_mode=edit_gpsdevices&data_source=<#DATA_SOURCE#>"><#LANG_ADD_NEW_RECORD#></a>
</b>
</p>
<table width=100% border=0><tr>
<td valign=top>
<!-- results -->
[#if RESULT#]
<!-- search results (list) -->
<form action="?" method="post" name="frmList_gpsdevices" style="padding:0px">
<table border=0 cellpadding=5 cellspacing=1 bgcolor="#000000" align=center>
<tr>
 <td align=center bgcolor="#AAAAAA">
 <a href="?sortby_gpsdevices=TITLE&data_source=<#DATA_SOURCE#>&save_qry=1"><b><#LANG_TITLE#></b></a><nobr>
 [#if SORTBY="TITLE"#](+)[#endif#]
 [#if SORTBY="TITLE DESC"#](-)[#endif#]</nobr>
 </td>
[#if !IS_SET_USER_ID#]
 <td align=center bgcolor="#AAAAAA">
 <b><#LANG_USER#></b>
 </td>
[#endif IS_SET_USER_ID#]
 <td align=center bgcolor="#AAAAAA">
 <b><#LANG_UPDATED#></b>
 </td>
 <td align=center bgcolor="#AAAAAA">
 <b><#LANG_DEVICE#></b>
 </td>
<td bgcolor="#AAAAAA">&nbsp;</td>
</tr>
[#begin RESULT#]
<tr >
 <td
   bgcolor="[#if NEW_COLOR#]#CCCCCC[#else#]#FFFFFF[#endif#]">
  <b>
   [#TITLE#]
  </a></b>
 </td>
[#if "<#IS_SET_USER_ID#>"!="1"#]
 <td
   align=center
   bgcolor="[#if NEW_COLOR#]#CCCCCC[#else#]#FFFFFF[#endif#]">
  [#if USER_ID!=""#]
   [#USER_ID#]
  [#else#]
   &nbsp;
  [#endif#]
 </td>
[#endif IS_SET_USER_ID#]
 <td
   align=center
   bgcolor="[#if NEW_COLOR#]#CCCCCC[#else#]#FFFFFF[#endif#]">
  [#if UPDATED!=""#]
   [#UPDATED#]
  [#else#]
   &nbsp;
  [#endif#]
 </td>
 <td
   align=center
   bgcolor="[#if NEW_COLOR#]#CCCCCC[#else#]#FFFFFF[#endif#]">
  [#if DEVICEID!=""#]
   [#DEVICEID#]
  [#else#]
   &nbsp;
  [#endif#]
 </td>
 <td bgcolor="[#if NEW_COLOR#]#CCCCCC[#else#]#FFFFFF[#endif#]">
  <table border=0>
  [#if "<#ACTION#>"=="admin"#]
   <td bgcolor="[#if NEW_COLOR#]#CCCCCC[#else#]#FFFFFF[#endif#]" align=center>
    <b><a href="?data_source=<#DATA_SOURCE#>&view_mode=edit_gpsdevices&id=[#ID#]"><#LANG_EDIT#></a></b>
   </td>
   <td bgcolor="[#if NEW_COLOR#]#CCCCCC[#else#]#FFFFFF[#endif#]" align=center>
    <a href="?data_source=<#DATA_SOURCE#>&view_mode=delete_gpsdevices&id=[#ID#]" onClick="return confirm('<#LANG_ARE_YOU_SURE#>')"><#LANG_DELETE#></a>
   </td>
  [#endif ACTION#]
  </table>
 </td>
</tr>
[#end RESULT#]
</table>
<input type="hidden" name="data_source" value="<#DATA_SOURCE#>">
<input type="hidden" name="view_mode" value="multiple_gpsdevices">
</form>
<!-- / search results (list) -->
[#else RESULT#]
<p align=center>
<font color="red"><#LANG_NO_RECORDS_FOUND#></font>
</p>
[#endif RESULT#]
<!-- / results -->
</td></tr></table>
